package com.hkzhao.shixun.mbg.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class Activity implements Serializable {
    @ApiModelProperty(value = "uuid")
    private String activityid;

    @ApiModelProperty(value = "0 独立活动 1 系统活动")
    private String tag;

    private Date startdate;

    private Date enddate;

    @ApiModelProperty(value = "消耗积分")
    private Double costintegral;

    @ApiModelProperty(value = "活动访问的具体路径")
    private String url;

    @ApiModelProperty(value = "0未发布 1已发布 2已结束")
    private String status;

    @ApiModelProperty(value = "参与人数")
    private Integer participatenum;

    @ApiModelProperty(value = "管理人员的uername")
    private String creatorname;

    @ApiModelProperty(value = "0每天抽 1 一共抽")
    private String drawstype;

    @ApiModelProperty(value = "抽奖次数")
    private Integer drawsnum;

    private String title;

    @ApiModelProperty(value = "二维码的base64编码")
    private String qrcode;

    private String description;

    private static final long serialVersionUID = 1L;

    public String getActivityid() {
        return activityid;
    }

    public void setActivityid(String activityid) {
        this.activityid = activityid;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public Date getStartdate() {
        return startdate;
    }

    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    public Date getEnddate() {
        return enddate;
    }

    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }

    public Double getCostintegral() {
        return costintegral;
    }

    public void setCostintegral(Double costintegral) {
        this.costintegral = costintegral;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getParticipatenum() {
        return participatenum;
    }

    public void setParticipatenum(Integer participatenum) {
        this.participatenum = participatenum;
    }

    public String getCreatorname() {
        return creatorname;
    }

    public void setCreatorname(String creatorname) {
        this.creatorname = creatorname;
    }

    public String getDrawstype() {
        return drawstype;
    }

    public void setDrawstype(String drawstype) {
        this.drawstype = drawstype;
    }

    public Integer getDrawsnum() {
        return drawsnum;
    }

    public void setDrawsnum(Integer drawsnum) {
        this.drawsnum = drawsnum;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getQrcode() {
        return qrcode;
    }

    public void setQrcode(String qrcode) {
        this.qrcode = qrcode;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", activityid=").append(activityid);
        sb.append(", tag=").append(tag);
        sb.append(", startdate=").append(startdate);
        sb.append(", enddate=").append(enddate);
        sb.append(", costintegral=").append(costintegral);
        sb.append(", url=").append(url);
        sb.append(", status=").append(status);
        sb.append(", participatenum=").append(participatenum);
        sb.append(", creatorname=").append(creatorname);
        sb.append(", drawstype=").append(drawstype);
        sb.append(", drawsnum=").append(drawsnum);
        sb.append(", title=").append(title);
        sb.append(", qrcode=").append(qrcode);
        sb.append(", description=").append(description);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}